package com.atguigu.gulimail.product.fegin;

import com.atguigu.common.to.es.SkuEsModel;
import com.atguigu.common.utils.Response;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author Fengkai
 * @creat 2022/1/5
 */
@FeignClient("gulimail-search")
public interface SearchFeignService {

    @PostMapping("/search/save/product")
    //**上架商品
    Response produceStatusUp(@RequestBody List<SkuEsModel> skuEsModelList);
}
